package com.pet.common.utils;

public class RedisConstants {
    public static final String LOGIN_CODE_KEY = "login:code:";
    public static final Long LOGIN_CODE_TTL = 2L;
    public static final String LOGIN_USER_KEY = "login:user:";
    public static final Long LOGIN_USER_TTL = 12L;
    public static final String RECOMMEND_USER_KEY = "recommend:user:";

    public static final Long CACHE_NULL_TTL = 2L;

    public static final String CACHE_ITEM_KEY = "cache:shop:";
    public static final Long CACHE_ITEM_TTL = 30L;

    public static final String CACHE_MEMBERSHIP_KEY = "membership";

    public static final String LOCK_ITEM_KEY = "lock:item:";
    public static final Long LOCK_ITEM_TTL = 10L;
    public static final String LOCK_ORDER_KEY = "lock:order:";
    public static final Long LOCK_ORDER_TTL = 10L;
}
